package com.usian.admin.fegin;

import com.usian.model.article.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.search.ApAssociateWords;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient("leadnews-search")
public interface SearchFegin {
    @RequestMapping("/search/user_SearchAdd")
    public void user_SearchAdd(@RequestParam("entryId")Integer entryId, @RequestParam("keyword") String keyword);

    @RequestMapping("/search/findAllAssociate")
    public List<ApAssociateWords> findAllAssociate();
}
